#!/bin/bash

echo "Deploying application..."

# Build the application
go build -o main .

# Run migrations
./scripts/migration/migrate.sh

# Start the application
./main

echo "Application deployed."